package com.itheima.reggie.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Setmeal;

import java.util.List;

public interface SetmealService {
    //分页查询
    Page<Setmeal> findByPge(Integer pageNum, Integer pageSize, String name);

    //保存
    void save(Setmeal setmeal);

    //删除
    void delete(List<Long> ids);

    //根据id查询
    Setmeal findById(Long id);

    //修改
    void update(Setmeal setmeal);

    //修改售卖状态
    void updateStatus(Integer status,List<Long> ids);

    //查询分类套餐
    List<Setmeal> findList(Long categoryId, Integer status);

    //查询套餐菜品
    List<Dish> findSetmealDish(Long id);
}
